
import cv2
import numpy as np
from scipy import ndimage

kernel_3x3=np.array([[-1,-1,-1],
                    [-1,8,-1],
                     [-1,-1,-1]])

img=cv2.imread('misc_photo/empire.jpg',0)
cv2.imshow("3x3",img)
cv2.waitKey()
cv2.destroyAllWindows()